/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.colswedev.logicproc.dao;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
 *
 * @author miguel
 */
public class LogicTestSuite extends TestCase {
    
    public LogicTestSuite(String testName) {
        super(testName);
    }

    public static Test suite() {
        TestSuite suite = new TestSuite("LogicTestSuite");
        suite.addTest(new ClienteDaoTest("testAdd"));
        suite.addTest(new ClienteDaoTest("testGet"));
        suite.addTest(new ClienteDaoTest("testDelete"));
        suite.addTest(new ClienteDaoTest("testFind"));

        suite.addTest(new ProductoDaoTest("testAdd"));
        suite.addTest(new ProductoDaoTest("testGet"));
        suite.addTest(new ProductoDaoTest("testDelete"));
        suite.addTest(new ProductoDaoTest("testFind"));

        suite.addTest(new PedidoDaoTest("testAdd"));
        suite.addTest(new PedidoDaoTest("testGet"));
        suite.addTest(new PedidoDaoTest("testDelete"));
        suite.addTest(new PedidoDaoTest("testFind"));

        suite.addTest(new ProductoPedidoDaoTest("testAdd"));
        suite.addTest(new ProductoPedidoDaoTest("testGet"));
        suite.addTest(new ProductoPedidoDaoTest("testDelete"));
        suite.addTest(new ProductoPedidoDaoTest("testFind"));
        return suite;
    }

}
